package com.management.vo;

/**
 * @author ls
 * @category
 */
public class OrderCommodityVO {
    /**
     * 订单、商品关系编号
     */
    private String orderCommodityId;
    /**
     * 订单编号
     */
    private int orderFormId;
    /**
     * 商品编号
     */
    private int commodityId;
    /**
     * 商品数量
     */
    private int orderCommodityNumber;
    /**
     * 订单、商品关系名字
     */
    private String orderCommodityName;
    /**
     * 商品名字
     */
    private String commodityName;

    @Override
    public String toString() {
        return "OrderCommodityVO{" +
                "orderCommodityId=" + orderCommodityId +
                ", orderFormId='" + orderFormId + '\'' +
                ", commodityId=" + commodityId +
                ", orderCommodityNumber=" + orderCommodityNumber +
                ", orderCommodityName='" + orderCommodityName + '\'' +
                ", commodityName='" + commodityName + '\'' +
                '}';
    }

    public OrderCommodityVO() {
    }

    public OrderCommodityVO(String orderCommodityId, int orderFormId, int commodityId, int orderCommodityNumber, String orderCommodityName, String commodityName) {
        this.orderCommodityId = orderCommodityId;
        this.orderFormId = orderFormId;
        this.commodityId = commodityId;
        this.orderCommodityNumber = orderCommodityNumber;
        this.orderCommodityName = orderCommodityName;
        this.commodityName = commodityName;
    }

    public String getOrderCommodityId() {
        return orderCommodityId;
    }

    public void setOrderCommodityId(String orderCommodityId) {
        this.orderCommodityId = orderCommodityId;
    }

    public int getOrderFormId() {
        return orderFormId;
    }

    public void setOrderFormId(int orderFormId) {
        this.orderFormId = orderFormId;
    }

    public int getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(int commodityId) {
        this.commodityId = commodityId;
    }

    public int getOrderCommodityNumber() {
        return orderCommodityNumber;
    }

    public void setOrderCommodityNumber(int orderCommodityNumber) {
        this.orderCommodityNumber = orderCommodityNumber;
    }

    public String getOrderCommodityName() {
        return orderCommodityName;
    }

    public void setOrderCommodityName(String orderCommodityName) {
        this.orderCommodityName = orderCommodityName;
    }

    public String getCommodityName() {
        return commodityName;
    }

    public void setCommodityName(String commodityName) {
        this.commodityName = commodityName;
    }
}
